<div class="page-content" >
	<div class="panel panel-default">
		<div class="panel-heading">
			<ul class="breadcrumb">
				<li><a href="/BoxAddon/AutoComplete/Index/list_table/auto_complete_name/addon_data_blocks_group/group_name/table_addon_data_blocks_group_post">广告组</a></li>
				<li><{$group_name}></li>

			</ul>
		</div>
		<div class="panel-body">
			<div id="toolbar" style="width: 100%;">
				<form id="filter" method="get" action="<{:addons_url('index')}>" class="form-horizontal">
					<div class="form-group">
						<div class="col-sm-3">
							<input type="text" name="kw" style="margin-left:5px;" class="form-control"  value="<{$_REQUEST['kw']}>" placeholder="关键字" />
						</div>
						 
						<div class="col-sm-4" style="float:right; width:auto">
						
							<input type="submit" class="btn btn-primary pull-right" value="筛选">
						</div>
					</div>
					<div class="form-group">
						<div class="col-sm-8"> <a data-type="modal"  href="<{:addons_url('index',array('tpl'=>'select_blocks','group_name'=>$group_name))}>" class="btn btn-default"> <i class="fa fa-plus"></i> 添加 </a>
						
						 
						
						</div>
					</div>
				</form>
			</div>
			<div class="bootstrap-table">
				<div class="fixed-table-container" style="padding-bottom: 0px;">
					<div class="fixed-table-body">
						<table id="data-table" class="table">
							<thead>
								<tr>
									 
									<th style="" data-field="name"><div class="th-inner ">标题</div>
										<div class="fht-cell"></div></th>
									 
									<th style="" data-field="name"><div class="th-inner ">区块名</div>
										<div class="fht-cell"></div></th>
										<th style="" data-field="name"><div class="th-inner ">顺序</div>
										<div class="fht-cell"></div></th>
									<th style="" data-field="id"><div class="th-inner ">操作</div>
										<div class="fht-cell"></div></th>
								</tr>
							</thead>
							<tbody>
								<volist name="data" id="vo">
									<tr data-index="0">
										  
										<td height="36"  valign="middle"><{$vo.title}></td>
										<td height="36"  valign="middle"><{$vo.blocks_name}></td>
										
										<td height="36" valign="middle"><input type="text" key="id" placeholder="顺序" onblur="set_order(this)" table="addon_blocks_group" id="<{$vo.id}>" value="<{$vo.order_by}>" autocomplete="off"></td>
										 
										<td style="">
										<a data-type="modal"  href="<{:addons_url('edit_blocks_group',array('id'=> $vo['id']))}>" class="btn btn-primary btn-xs">修改</a>
										<a onClick="return confirm('确认需要删除些信息吗？');" href="<{:addons_url('del_blocks_group',array('id'=>$vo['id']))}>" class="btn btn-primary btn-xs">删除</a>
										 
										</td>
									</tr>
								</volist>
							</tbody>
						</table>
					</div>
					<include file="./Apps/BoxAdmin/View/Ace/Public/pager.html" /> </div>
			</div>
			<div class="clearfix"></div>
		</div>
	</div>
</div>
 
 


 